﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Service
{
    /// <summary>
    /// 命令服务层
    /// </summary>
    public interface CommandService : BaseService<string, Command>
    {
        /// <summary>
        /// 解析命令
        /// </summary>
        /// <param name="cmds"></param>
        /// <returns></returns>
        CommandParseResult ParseCommand(string cmds);
        /// <summary>
        /// 解析下一个输入命令
        /// </summary>
        /// <param name="command"></param>
        /// <returns></returns>
        CommandNextInputResult ParseNextInputCommand(string command);
    }
}
